import type { AppRouteModule } from '@/router/types';
import { LAYOUT, getParentLayout } from '@/router/constant';

const vinno: AppRouteModule = {
  path: '/project',
  name: 'project',
  component: LAYOUT,
  redirect: '/company/project',
  meta: {
    icon: 'pajamas:project',
    title: '项目信息',
    orderNo: 3000,
    roles: ['Root.Admin.Project'],
  },
  children: [
    {
      path: 'article',
      name: 'ArticlePage',
      component: () => import('/@/views/project/article/ArticlePage.vue'),
      meta: {
        icon: 'fluent:news-28-regular',
        title: '文章',
        roles: ['Root.Admin.Project.Article.Read'],
      },
    },
  ],
};

export default vinno;
